import req from '@/utils/request';

//管理员管理列表
export const adminList = (params) => req.post('/admin/list', params);

//管理员管理 管理员添加
export const adminAdd = (params) => req.post('/admin/add', params);

//管理员列表删除
export const adminDel = (params) => req.post('/admin/del', params);

//管理员列表编辑
export const adminEdit = (params) => req.post('/admin/edit', params);

//管理员列表修改密码
export const adminChangePwd = (params) => req.post('/admin/changePwd', params);

//管理员管理-部门添加
export const adminDepartment = (params) => req.post('/admin/department', params);

//管理员日志
export const logsOp = (params) => req.post('/logs/op', params);

//支付设置-支付方式
export const rechargePaymentMethod = (params) => req.post('/recharge/paymentMethod', params);

//支付设置-提现方式
export const rechargeWithdrawalMethod = (params) => req.post('/recharge/withdrawalMethod', params);

//支付设置-汇率调整
export const rechargeModify = (params) => req.post('/recharge/modify', params);

//支付设置-信息回填
export const rechargeBack = (params) => req.post('/recharge/back', params);


//充值、提现、计费时长配置项列表
export const globalsetRechargeDemoList = (params) => req.post('/globalset/rechargeDemoList', params);

//添加、编辑充值档位
export const globalsetAddRechargeDemo = (params) => req.post('/globalset/addRechargeDemo', params);

//添加、编辑提现档位
export const globalsetAddWithdrawDemo = (params) => req.post('/globalset/addWithdrawDemo', params);

//添加、编辑计费时长档位
export const globalsetAddTimeDemo = (params) => req.post('/globalset/addTimeDemo', params);

//更新解锁计费
export const globalsetAddDataBill = (params) => req.post('/globalset/addDataBill', params);

//更新信誉值预约价格
export const globalsetReservaPrice = (params) => req.post('/globalset/reservaPrice', params);


//删除档位配置
export const globalsetDel = (params) => req.post('/globalset/del', params);

//档位操作日志
export const globalsetLog = (params) => req.post('/globalset/log', params);

//首充列表
export const globalsetFirstChargeList = (params) => req.post('/globalset/firstChargeList', params);

//更新首充
export const globalsetRenewFirstCharge = (params) => req.post('/globalset/renewFirstCharge', params);

//新增金币
export const globalsetAddGoldDemo = (params) => req.post('/globalset/addGoldDemo', params);

//修改金币
export const globalsetEditGoldDemo = (params) => req.post('/globalset/editGoldDemo', params);

// 宝石兑换金币列表
export const getGemstoneList_api = (params) => req.post('/globalset/diamondsConvertGoldList', params)

//编辑宝石兑换金币
export const editGemstoneList_api = (params) => req.post('/globalset/editDiamondsConvertGold', params)